using System;
using System.Collections.Generic;
using System.Text;

using PickGold;
using PickGold.Database;
using PickGold.Entities.Table;

namespace PickGold.Entities.View
{
    public class CViewNewsInfo : CRadixNewsInfo
    {
        //
        public const string ENTITY_NAME = "vw_sys_news_info";
        public const string ENTITY_ALIAS = "newses";
        //
        private SViewNewsInfo _ = null;
        //
        public CViewNewsInfo() : base(ENTITY_NAME, ENTITY_ALIAS) { }
        public CViewNewsInfo(CDatabase db) : base(db, ENTITY_NAME, ENTITY_ALIAS) { }
        public CViewNewsInfo(string alias) : base(ENTITY_NAME, alias) { }
        public CViewNewsInfo(CDatabase db, string alias) : base(db, ENTITY_NAME, alias) { }
        //
        protected override void SetSchema()
        {
            this.SetSchema(new SViewNewsInfo());
        }
        protected void SetSchema(SViewNewsInfo s)
        {
            this._ = s;
            base.SetSchema(s);
        }
        //
    }
    //
    public class SViewNewsInfo : SRadixNewsInfo
    {
    }
    //
}
//
